#include "productinfo.h"

ProductInfo::ProductInfo(QString title, QString longDescription, QString price, QWidget *parent)
    : QDialog(parent)
{
	ui.setupUi(this);
	ui.groupBox->setTitle(title);
	ui.textBrowser->setText(longDescription);
	ui.priceLabel->setText(price);
}

ProductInfo::~ProductInfo()
{

}
